package com.chinasofti.framework.data;

import java.lang.reflect.Type;

public class FieldType {
	
	private Type m_dataType;
	private boolean m_singleData;

	public FieldType() {
		this(String.class);
	}
	
	public FieldType(Type type) {
		this(type, true);
	}

	public FieldType(Type dataType, boolean singleData) {
		m_dataType = dataType;
		m_singleData = singleData;
	}
	
	public Type getDataType() {
		return m_dataType;
	}
	
	public boolean isFieldSingle() {
		return m_singleData;
	}
}